<?php
include_once('class/autoload.php');   // pour inclure nos classes
$site = new page_admin('acceuil');
$site->titre = 'Connexion';
$site->corps = '<br><form action="#" method="post" class="formular" name="formulaire"> 
				<fieldset>
				<legend>Connectez-vous : </legend>
				<label>
				<input class="validate[required]" type="text" name="pseudo" id="pseudo" placeholder="Nom"/>	
				</label>
				<label>
				<input class="validate[required]" type="password" name="mdp" id="mdp" placeholder="Mot de passe"/>
				</label>
				</fieldset>
				<br><input type="submit" value="Se Connecter"/>
				</form></br></br>';
$site->connect_admin();
$site->affiche();
?>